package com.hongdee.scm.approvalflow.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Mr. Xu on 2017/6/11.
 * 审批流设置
 */
@Entity
@Table(name = "T_SCM_APPROVALFLOW")
public class TScmApprovalflow extends BaseEntity {

    /**
     * 起始状态
     */
    @Column(name = "start_status", length = 32, columnDefinition = "VARCHAR(32) COMMENT '起始状态'")
    private String startStatus;

    /**
     * 起始角色
     */
    @Column(name = "start_roles", length = 32, columnDefinition = "VARCHAR(32) COMMENT '起始角色'")
    private String startRoles;

    /**
     * 流转状态
     */
    @Column(name = "circulation_status", length = 32, columnDefinition = "VARCHAR(32) COMMENT '流转状态'")
    private String circulationStatus;

    /**
     * 审核角色
     */
    @Column(name = "audit_roles", length = 32, columnDefinition = "VARCHAR(32) COMMENT '审核角色'")
    private String auditRoles;

    /**
     * 状态
     */
    @Column(name = "status", length = 32, columnDefinition = "VARCHAR(32) COMMENT '状态'")
    private String status;

    /**
     * 操作人
     */
    @Column(name = "operator", length = 32, columnDefinition = "VARCHAR(32) COMMENT '操作人'")
    private String operator;

    /**
     * 公司ID
     */
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    /**
     * 审批流节点的父ID，即一整条审批流程的标识ID
     */
    @Column(name = "approvalflow_p_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '审批流节点父ID'")
    private String approvalflowPId;

    public String getStartStatus() {
        return startStatus;
    }

    public void setStartStatus(String startStatus) {
        this.startStatus = startStatus;
    }

    public String getStartRoles() {
        return startRoles;
    }

    public void setStartRoles(String startRoles) {
        this.startRoles = startRoles;
    }

    public String getCirculationStatus() {
        return circulationStatus;
    }

    public void setCirculationStatus(String circulationStatus) {
        this.circulationStatus = circulationStatus;
    }

    public String getAuditRoles() {
        return auditRoles;
    }

    public void setAuditRoles(String auditRoles) {
        this.auditRoles = auditRoles;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getApprovalflowPId() {
        return approvalflowPId;
    }

    public void setApprovalflowPId(String approvalflowPId) {
        this.approvalflowPId = approvalflowPId;
    }
}
